package com.haircut.project.model.salary;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haircut.sys.model.BaseIDAllDate;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@TableName("t_user_salary")
public class UserSalary extends BaseIDAllDate {
    /**
     * 客户姓名
     */
    @TableField("user_id")
    private String userId;
    /**
     *  工资编号
     */
    @TableField("salary_no")
    private String salaryNo;
    /**
     * 部门id
     */
    @TableField("dept_id")
    private String deptId;
    /**
     * 总金额
     */
    @TableField("total_amount")
    private BigDecimal totalAmount;
    /**
     * 优惠金额
     */
    @TableField("discount_amount")
    private BigDecimal discountAmount;
    /**
     * 工资类型(1、待发 2、已发)
     */
    @TableField("salary_type")
    private Integer salaryType;

    /**
     * 发工资的人
     */
    @TableField("pay_user_id")
    private String payUserId;
    /**
     * 发放时间
     */
    @TableField("pay_date")
    private Date payDate;


    /**
     * 总现金金额
     */
    @TableField("total_cash_amount")
    private BigDecimal totalCashAmount;
    /**
     * 总刷卡金额
     */
    @TableField("total_card_amount")
    private BigDecimal totalCardAmount;


    /**
     * 技师总现金金额
     */
    @TableField("tech_cash_amount")
    private BigDecimal techCashAmount;
    /**
     * 技师总刷卡金额
     */
    @TableField("tech_card_amount")
    private BigDecimal techCardAmount;


    /**
     * 技师总现金金额
     */
    @TableField("company_cash_amount")
    private BigDecimal companyCashAmount;
    /**
     * 技师总刷卡金额
     */
    @TableField("company_card_amount")
    private BigDecimal companyCardAmount;



    /**
     * 小费总刷卡金额
     */
    @TableField("tips_card_amount")
    private BigDecimal tipsCardAmount;

    /**
     * 批次id
     */
    @TableField("batch_id")
    private String batchId;
    /**
     * 失败原因
     */
    @TableField("err_reason")
    private String errReason;
    /**
     * confirm_remark
     */
    @TableField("confirm_remark")
    private String confirmRemark;

    /**
     * 确认时间
     */
    @TableField("confirm_date")
    private Date confirmDate;

}